Skip to content

ci: trigger website rebuild on release#2

Closed
ByteYue wants to merge 1 commit intomainfrom
feat/trigger-website-rebuild-on-release
Closed

ci: trigger website rebuild on release#2
ByteYue wants to merge 1 commit intomainfrom
feat/trigger-website-rebuild-on-release

Conversation

@ByteYue
Copy link
Owner

@ByteYue ByteYue commented Mar 22, 2026

Description

When a new version is released (v* tag push), trigger the opencli-website to rebuild via repository_dispatch. This ensures the website always displays the latest released version number.

Reuses the existing WEBSITE_DEPLOY_TOKEN secret (already used by docs.yml).

Companion PR: jackwener/opencli-website — feat/dynamic-version-display

Type of Change

  • 🔧 CI / build / tooling

Checklist

  • I ran the checks relevant to this PR
  • I updated tests or docs if needed
  • I included output or screenshots when useful

Screenshots / Output

# New step added to release.yml:
- name: Trigger website rebuild
  uses: peter-evans/repository-dispatch@v3
  with:
    token: ${{ secrets.WEBSITE_DEPLOY_TOKEN }}
    repository: jackwener/opencli-website
    event-type: version-released

@ByteYue
Copy link
Owner Author

ByteYue commented Mar 22, 2026

Wrong repo, moved to jackwener#269

@ByteYue ByteYue closed this Mar 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant